<template>
  <div class="wraper">
    <h2>我是Person组件</h2>
    <h4>姓名：{{name}}</h4>
  </div>
</template>

<script>
  export default {
    name:'Person',
    data() {
      return {
        name:'强哥'
      }
    },
  }
</script>

<style scoped>
  .wraper {
    background-color: skyblue;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px;
  }
</style>